This PR adds rules for building the compiler part with bazel, a followup PRs will build the python bindings.