Fixes html5 build targets