fixed distvec compilation for linux