move define
stealing some patches Debian made, thanks