Fix D examples when run 'in-source'
%constant and structs support for Lua