Added initialisation logic for Python3 status flag.
This MR fixes an intermittent bug on some systems (or versions of CMake) whereby the Python detection logic is not executed on the first run.
This MR fixes an intermittent bug on some systems (or versions of CMake) whereby the Python detection logic is not executed on the first run.