Legacy runtime support

These patches make the formatter work for Mac apps targeting the legacy (32 bit) runtime again