Fixes linux build

Fixes linux build (almost)