add osx build
ignore system file
add mac support