Fix wrong use of delete operator
Fix wrong bitwise and operator
Fix compile warnings under clang
Merge pull request #13 from perim/master

Fix wrong operators and compile warnings