remove all not crossplatform compilation stuff and fix up app.src