support compilation for Unix/Linux platforms