Changed CMake to allow partial build when missing dependencies.