Fix dependencies build option in Travis script. Update CMake modules.