Fix build-dependencies

Fix scaling_functional_test