renamed scanner

if the lex scanner ends with .l, gnu make intrinsically knows how to
build it, so don't need a separate target for it. the separate
compilation target remains because flex's ouput does not comply with
clang's -Weverything