Revert most of optimisation except for some obvious fixes to errors someone or other introduced.
Something in the rest appears related to a crash in translation. Until I determine why or what, this stays out to not ruin people's games
if(WIN32 AND NOT UNIX)
file(GLOB DLLs *.dll)
install(FILES
${DLLs}
DESTINATION bin)
endif(WIN32 AND NOT UNIX)