remove cmake configure check