Use cmake instead of configure