Fix Windows Build

MinGW have Problems with static linking so I use now a dirty Workround for it.