Fixes all goofy issues when linking to the framework