Ensure build commands run in same shell context