build nutools using only cmake defines for the location of dependent packages
changes needed to make build work on jenkins slaves