Use multi-thread and ccache to optimize building time.