Adding cmake and g++ as dependencies to the makefile.