Set path variable for Exec["generate ${name}.db"]

Since it produced an error, i set the path variable explicitly.
Checked for compatibility on Ubuntu 14.04, SLES SP2+3, RedHat 5.3