FIX: static linking