cleanup vs110 project; changed source to work without C99 on visual studio