Changes for gcc and stdlib to be static for win32, dynamic for *nix