makefiles: fix bundle creation