conditional blocks on def files +solaris support WIP