fix travis and workaround for libstd++ bug
Merge pull request #45 from kirkshoop/workaroundforhang

fix travis and workaround for libstd++ bug