Use more straightforward way to define variable
Use dist script to replace parameters in gnucash.iss

This use to be partly handled by gnucash' configure but gnucash.iss
will be removed from the gnucash repository.