Revert "switch to static"

This reverts commit 068fb53672141f96b8051550deadf9c09e05611a.