Tweak autoconf link params to fix migrator build