fix demotool compile