Fix compile error because of missing libpromises dependencies.