configure.ac: Export MAKECMD to build system