Made the configure script work if python3 is the default

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>
For some reason tripping-cyril refused to link without -pthread on raspberry pi

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>