Fixes #806 Build fails if GOPATH has multiple paths
Merge pull request #807 from rickard-von-essen/806_multiple_gopaths

Fixes #806 Build fails if GOPATH has multiple paths