fix: cmake SENTRY_LIBRARY_TYPE
variable check
#662
Merged
SENTRY_LIBRARY_TYPE
variable check
#662