fixed XBOX compilation