Clean CMake code.
Add lapack to a subdirectory of Ipopt in the build tree and simplify the CMake code.