Fix MSVC compile

Add all missing source/header files to MSVC project files, re-enable optimization on itypedef.cpp, and fix ambiguous usage of ceil()