add linkall for windows