reduce code size
add note for windows support