Fix unix platform