compiles all go (sub)packages given a root directory