add gcc4.9 support
Merge pull request #173 from ThomasSevestre/add_gcc49

add gcc4.9 support