Cleanup build system & build missing libraries
Thanks IllusionProject & Slimroms