remove unuse bundle and add autocmd for astyle
add platform check