[Bug 1217009] cmake macro on Leap is missing '-type f'