build compatibility in linux