fixed erroneous ldand (->ldor); migrated CFLAGS warnings to a separate line