revert revert! don't include -static in public source