build: emulate autoconf PACKAGE_* variables