Update Makefiles in order to conform to GNU implicit variables