This introduces some consistency in how the libraries are built, to avoid issues with missing linked libraries.