Fix postgres_ext for rails 4.1