Merge pull request #143 from schuhschuh/fix-bazel-bulid-osx

fix #133: Use awk instead of sed which would require different options on OS X