make fix builds on linux and use public urls for submodules