Fixed Debug/Release and x64/WIN32 builds