Update erlang.mk
Fix which_children call which returned incorrect values

Not everything stored in the process dictionary is a pid,
because we use proc_lib. Thanks to the cool spanish girl
at the EUC 2013 for highlighting this issue, and sorry
I forgot your name.
Catch exceptions in ranch_conns_sup:active_connections/1

It can be called from other nodes too.