reinplace on OSX 10.8 seems to behave differently, this change has been tested on a few 10.8 and 10.7 machines.