edit: seems to compile at least using my modified version of the community makefile: gist, doesn't seem to work when flashed though, looks like the bin files are too small (43/204k)
esp-open-sdk (or any gcc/crosstool/esptool combo) is much better than relying on the default espressif makefile with all those xt-* commands and windows .exe's