c++ build for SAFplus examples