allow cmake options to be used