compile dist