support compile locally