Fixed build on *nix