Fix for wp7 and xbox360 build