Fix buildfile for *nix