Copies some build.tweaks from PSX-PureSpeed

credits to ctfromm