Build on linux and osx for CI