prepare for Linux compatibility