Fix framework search path
Fix embedded birnay and linked frameworks.