ifdef out the special mac code for now

it needs more fixing and I can't test it.