cmake: correct find function