refactored ext & ffi paths to try to fix cext