Chaged some defines for it to work in Windows VS 2012