basic compilation test with cmake