Fix issue with bindist target on OS X

Was having issues running `make bindist` on OS X. This commit fixes those issues.