Updated to Keep cross platform support

you will need to imprt platofrm libs to local dir