This is me trying to make bap less of a clusterfuck to build on os x.