Clean up build output, reinstall libgd2-xdm