Switch to static lib