fix more import insufficiency

Required by: https://github.com/D-Programming-Language/dmd/pull/2256

Fill the lack of local imports in platform-specific code.