Updated build script and build.
Improved build and example.