Rework the Makefiles to be compatible with binary packages.