attempted fix for #1589 (installers & binaries)

This is an attempt to finally fix the broken binary installation for custom installers (see issue #1589).