missing files and cmake fix