Merge pull request #8 from xoppa/master

Remove type_traits requirement
Fix compiler issues