fixing rferences in linux build