This ensures consistency between the various python script executions and fixes some issues with meson not passing the environment properly in all cases.