Fix for web build