example.cpp: return 0, or exit(1)

For example to be usable as a simple test, it needs to return
a proper.
build: add ubiquitous autotools build scripts