Fixed VC++11 only errors