pull in hacks to handle RMF compilation on 10.8