Fix the desktop build after 0c5d1dc.

Depend on libtzplatform-config only for Tizen builds, as it does not exist elsewhere.