Check the path to MacTeX if your platform is OS X only.
Set the environmental variables of Go for FreeBSD.