update defined libmagic version
add solaris support