Fix database creation on linux platforms