updated to include gcc 4.7 requirement