Added imports that are missing when compiling under Windows.