Renamed LocalAlloc and GlobalAlloc to not conflict with an import of windows.h. Also made changes to VS project definitions.