Fix compile error because of missing libpromises dependencies.
Merge pull request #1020 from kacfengine/3.5.x

Fix compile error because of missing libpromises dependencies.