Improve detection of dependency support for make
Merge branch 'patch-71' of git://github.com/andreineculau/erlang.mk