fix: improve less compile error catching