Fix FRAMEWORK_SEARCH_PATHS to work on device