Add a build script for the popt library, which is required by hd2u