debian packaging fix
more fTools api updates
use CMAKE_*_FLAGS also on unix