Fix typo in flann's source.build.
Add a lot of dependency packages for ros_comm and a bunch of fixes to make it compile.