fixec cross platfom .so/.dylib stuff