Adapt bin/run for OS X

...which does not have realpath(1), so just require CWD to match BUILDDIR there

Change-Id: I245241299d650c541f86cf440d3b57308c86d3fb