Check python dir and use it for gdb.