Add #ifdef construct to allow building universal binaries on OS X.