Building OpenBR on Mavericks

Not all of these are important, can you cherry pick from them?