Moved find_package(PostgreSQL REQUIRED) to apropriate location