Fix build dependency issue