Updated configure.ac to use python3 compatible command.
Modified ktest-tool so that it is compatible with python3.