As per @delcypher the set(STP_STATIC_LIBRARY ON) is not needed

Thanks, it's cleaner now