Fix build on OS X

The uuid functionality is in the system libraries on OS X, so no need to
link with -luuid.