(FIX) make sure correct environment gets passed in for sparc builds