augment xopen to handle non-cocoapods projects