I just build the current git version and it appears to work now. The "Warning: corrupt .drectve at end of def file" are still produced though.