a bash script and patches to compile PTAM (Parallel Tracking and Mapping) on Ubuntu 14.04 with CMake