Only building EXE files when the exe profile is activated (EPD-248)
Merge branch '3.1'