static seems to work on windows