Added dependencies and cmake extras.