Tweaked all make files to support older versions g++