fixed database path in non-linux case