hacks to get dist build working temporarily