Fix compile warnings
Allow the solution to be compiled on VS2013.