fix error on linux build due to windows libraries included in error