Broaden Erlang apps search patterns

When looking for Erlang apps in lib dirs treat lib dir as a potential
Erlang app itself.