Fix build errors due to missing dependency