hack to get static linking?