Fix compile errors.
Tested on MS VSE 2012.
Merge branch 'master' into passive_anticheat_new