added directive to make NpgsqlServices public if it is being compiled for EF 6