Cmdstan 2.18 make

Few days ago on ubuntu 16.04 I cloned cmdstan

git clone https://github.com/stan-dev/cmdstan.git --recursive

and made mpi with make build.
make/local contains
STAN_MPI=TRUE
CXX=mpicxx

Now, when running make I saw that it tries to compile some cpp file and only then links. I am pretty sure that it didn’t do so before. Linked binary runs fine. Any suggestions?

make tmp/NNbinomial2.18MPI
mpicxx -std=c++1y -Wno-sign-compare -Wno-delete-non-virtual-dtor -O3 -I src -I stan/src -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.66.0 -I stan/lib/stan_math/lib/sundials_3.1.0/include -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -DSTAN_MPI -c -MT tmp/NNbinomial2.18MPI.o -MT tmp/NNbinomial2.18MPI.d -MT tmp/NNbinomial2.18MPI -include tmp/NNbinomial2.18MPI.cpp -include src/cmdstan/main.cpp -MM -E -MG -MP -MF tmp/NNbinomial2.18MPI.d tmp/NNbinomial2.18MPI.cpp
g++: error: tmp/NNbinomial2.18MPI.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.

— Linking C++ model —
mpicxx -std=c++1y -Wno-sign-compare -Wno-delete-non-virtual-dtor -O3 -I src -I stan/src -I stan/lib/stan_math/ -I stan/lib/stan_math/lib/eigen_3.3.3 -I stan/lib/stan_math/lib/boost_1.66.0 -I stan/lib/stan_math/lib/sundials_3.1.0/include -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -DSTAN_MPI -Wl,-L,"/home/lmockus/cmdstan/stan/lib/stan_math/lib/boost_1.66.0/stage/lib" -Wl,-rpath,"/home/lmockus/cmdstan/stan/lib/stan_math/lib/boost_1.66.0/stage/lib" -include tmp/NNbinomial2.18MPI.hpp src/cmdstan/main.cpp stan/lib/stan_math/lib/sundials_3.1.0/lib/libsundials_nvecserial.a stan/lib/stan_math/lib/sundials_3.1.0/lib/libsundials_cvodes.a stan/lib/stan_math/lib/sundials_3.1.0/lib/libsundials_idas.a stan/lib/stan_math/lib/boost_1.66.0/stage/lib/libboost_serialization.so stan/lib/stan_math/lib/boost_1.66.0/stage/lib/libboost_mpi.so stan/lib/stan_math/stan/math/prim/arr/functor/mpi_cluster_inst.o -o tmp/NNbinomial2.18MPI