Ref #232, fixes SQL install errors.