Fix buildfile on *nix