Fixed problems with out-of-tree build in leim/Makefile.in reported by Dani Moncayo.