Remove broken static linking