OS X build of r3

Please pull :-)