Fix for older erlang releases

when application:get_env/3 isn't available