Switch to static library