Fix warnings in and revive helper libraries and bindings on UNIX