fix bug that prevented sqlite from working with bundled app