Use to get correct dir
Check /proc/self/status for PaX status.
Fix testsuite for GCC 4.9.0