On OS X, replace BSD userland with GNU tools if installed