Add preliminary support for building binaries