see if this LDDLFLAGS/LDLOADLIBS hack fixes stuff