cmake: only create SONAME shared lib on POSIX systems (closes #62)