Compile C++ code with -fvisibility-inlines-hidden