The ninja command may relaunch meson if meson files have changed. As we need a proper environment (PKG_CONFIG_PATH, PATH) to let meson configure properly, we also need to pass the environment to ninja.