Import libbacon-1.2.1 as wip/libbacon.
Misc extensions and *nix compatibility layer.