More work on portability, and bugfixes from original CMake integration

* Removed include path assumptions
* Brought back necessary removed header file
* Renamed sample app back to pkmds-g5-sample (CMake doesn't like spaces)
* Implemented getwstring for Linux to use, works for single-byte chars