- Fix linux/bsd incompatibilities.