Fix project and AI compilation for windows x64