Basic configure functionality for cmake