bugfix: move win32-specific platform implementation to its specific platform implementation.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>