fix gcc packages. gcc/g++ v4.7 is needed.