- fix build when registration is disabled
- fix warnings for 64 bit builds
- added hello world example