mac-configure: remove old cruft and enforce compatibility with Mavericks' compilation environment