fix demo build