Fixed g++'s errors
Now supporting Travis CI