couldn't static linking here create the same problem as #307 ?