Fixed issue #1 (the namespace problem)
Fixed gcc compatibility problems