Note: This change needs to be introduced because when cross-compiling configure detects the python installation from the host which leads to enabling python support even if there is no python installed in the target.