common: fix build on linux