updated the pyi_hook to compile the sql files on build