Replace LFLAGS with more common LDFLAGS, allow overriding CC/RM/CFLAGS/LDFLAGS