Apllied vs2010 compiler fixes from fontstash.