Build a library with the C++ part of environment setup