Update build paths
Fix Firefox compatibility with IndexedDB