build test libraries on os x
add .gitignore, ctags file.