Fixing Application Compatibility Bugs