gcc / clang build error fix
* template typename
* missing namespace
* function declaration order
* wtf typename typedef????
* Cmake  set_property - append add ;
Encoding erorr - change to UTF-8
Merge pull request #3 from omniavinco/master

OSX build error & encoding error file