Issue #697: Fix test_onefile_ctypes for linux.
Issue #697: Fix running tests and fix test_absolute_ld_library_path for Linux.