fix version reporting in standalone snap
for the standalone version, the flag to the compilation must be taken from the snapcraft file, and passed as a linking flag to the go compiler (is this possible using the golang plugin for snapcraft?)
Edited by Kali Kaneko