This is ok for now, but we really need to figure out some uniform handling of the LDFLAGS and CFLAGS.