osproc: use fork by default on Linux, clone if requested by useClone flag