Fixed build with cmake after previous commit