Fixed cmake test.