fixed linker issues with API in app delegate