Compile libraries before installing.