remove libjulia.so/dll/dylib from full path