[build] Fix build dependencies