Use the Python from configure for tests. Fixes #377