only compiles the required libs