The new C++ standard library provided by libports is a shared library. We need to include it in each run script that uses Qt4.