Handle build tags

fixes issue #35