Set variables needed for PYTHON_SINGLE_ABI.