Correctly compile clients with an extension different from .ycp

This fixes compilation of *.yh files.