Fixed build problems with missing dependencies.