fix build: create statically linked libavoid