add optimized build of example