Gcc47 support

finish support for gcc 4.7, 4.8.
doc
one more rm -rf avoiding
(PS wrong branch before)