cleanup

* finish platform specific cmake modification
* change .hpp to .inl