You can build in the local directory and install the compiled libraries afterwards, the same way you would have installed the precompiled ones.