Improved cmake build deps.