That warning doesn't play well with Windows' GetProcAddress(), so add some extra casting to work around it.