Compile for dist