(Use --with-uuid=bsd as per documentation section F.43.2) Also probably fix the UUID extension on Solaris and Linux, but untested.