Makefile improvements.
Added simple remote dependency fetching.