Fix sig_t check
More fixes for Solaris
Fix case change of attribute names when creating attributes.h on Solaris