Fixing issue #24; accidentally clobbering LDFLAGS and CFLAGS previously.