Fix uuid dependency, build extensions, and configure DBs