Added Windows/Posix switch to Libcore