Changes for backwards compatibility with Thrust 1.5.1; remove Xcompiler from g++ commands
Cannot use min<int> with nvcc.
Merge pull request #1 from GooFit/pr/12

Pr/12