update sample file

- add test for build type
- remove typos
- some more information for linking