adding +build as shown in http://stackoverflow.com/questions/10646531/golang-conditional-compilation