Fix protobuf example
Remove old cppa variables from build script
Fix build on GCC 4.7