fix for latest master of haste-compiler