build: add case to check for Solaris.