Cleaned up makefile and replaced HAVE_ASPRINTF with __USE_GNU.