[build] Fixed wrong dependency type.