need to link sqlite dynamically to avoid a hell of pain