build all packages as modules