remove not required code. once.cc is now used in linux as well as windows