modified ls.c such that the array opt_flags causes less problems in ifdeftoif