Added preprocessors to fix issues with webplayer builds