Only search for enabled extension if the PostgreSQL version supports
extensions
Fix typo