use get_software_libdir for determining library subdirs rather than hardcoding 'lib'