Can't make bernoulli example on windows

Operating System: win7
Interface Version: cmdstan 2.18.1 ; .cpp files datad 12.24.2018
Compiler/Toolkit: RTools 3.4

I’ve successfully built 2.18.1, but when I try the bernoulli example I get:

C:\ProgramFiles\cmdstan\cmdstan-2.18.1>make examples/bernoulli/bernoulli.exe
uname: not found
uname: not found

— Linking C++ model —
g++ -Wall -I . -isystem stan/lib/stan_math/lib/eigen_3.3.3 -isystem stan/lib/sta
n_math/lib/boost_1.66.0 -isystem stan/lib/stan_math/lib/sundials_3.1.0/include -
std=c++1y -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS
-DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION -Wno-unused-function -Wno-uninitialized -
I src -isystem stan/src -isystem stan/lib/stan_math/ -DFUSION_MAX_VECTOR_SIZE=12
-Wno-unused-local-typedefs -DEIGEN_NO_DEBUG -m64 -Wno-unused-but-set-variable -
DNO_FPRINTF_OUTPUT -pipe src/cmdstan/main.cpp -O3 -o examples/bernoulli/bernou
lli.exe -include examples/bernoulli/bernoulli.hpp -include examples/bernoulli/US
ER_HEADER.hpp 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_ma
th/lib/sundials_3.1.0/lib/libsundials_idas.a
In file included from stan/src/stan/model/model_header.hpp:8:0,
from ./examples/bernoulli/bernoulli.hpp:3,
from :0:
stan/src/stan/io/reader.hpp: In member function ‘T stan::io::reader::scalar_l
ocscale_constrain(TL, TS)’:
stan/src/stan/io/reader.hpp:709:16: error: ‘locscale_constrain’ is not a member
of ‘stan::math’
return stan::math::locscale_constrain(scalar(), loc, scale);
^
stan/src/stan/io/reader.hpp: In member function ‘T stan::io::reader::scalar_l
ocscale_constrain(TL, TS, T&)’:
stan/src/stan/io/reader.hpp:727:16: error: ‘locscale_constrain’ is not a member
of ‘stan::math’
return stan::math::locscale_constrain(scalar(), loc, scale, lp);
^
In file included from stan/src/stan/model/model_header.hpp:9:0,
from ./examples/bernoulli/bernoulli.hpp:3,
from :0:
stan/src/stan/io/writer.hpp: In member function ‘void stan::io::writer::scala
r_locscale_unconstrain(double, double, T&)’:
stan/src/stan/io/writer.hpp:179:27: error: ‘locscale_free’ is not a member of ‘s
tan::math’
data_r_.push_back(stan::math::locscale_free(y, loc, scale));
^
make: *** [examples/bernoulli/bernoulli.exe] Error 1

As I understand it, there was a problem with locscale_constrain in earlier versions of cmdstan, but I thought that had been resolved in the Dec 24 version. Can anyone see what’s going wrong here?