premake5.lua: replace configurations with filters
premake5.lua: wrap long comments to multiple lines
premake5.lua: remove unnecessary defines