fixes for rump Linux emulation in tests