MinimalistTD: compile fix for HTML5