wip: re-try static linking