fix for correct install in real/chroot env