Fix framework search paths

this should take out hard coded paths and make it buildable anywhere