Handle dependencies of the bootcompiler in cmake.