Correct linking errors for VS compiler/WIN32.