build: Refactor duplicated stp dependency declaration on CLANG_CXX

Signed-off-by: Diego Biurrun <diego@biurrun.de>