Fix installatino of man files and sql files