fixes #2938 unbreak make install and SharpFont on Mac/Windows

@xaionaro
@pchote
@ScottNZ

Please verifiy that this fixes it for the platforms you use.

Also adding a new rule for Travis CI so that it won't go unnoticed again.