Minor build issues, and add feature-flags set on importing pool v30 (Solaris)