Fix for GNU/Linux emulation.