Fix a few VS2013 warnings