fixed modSuffix ternary expression so it appends -mod when true

Signed-off-by: David Dossot <david@dossot.net>
Merge pull request #815 from ddossot/bug-433054

fixed modSuffix ternary expression so it appends -mod when true