Compiler directives XBOX bug fixes