Fix unix builds