Fix build and add travis ci build status image