update to static linking