set platform so the horrible buildsystem works