Fixes cmake build