making the deleteOnReboot and windows api imports platform specific