[Linux] small changes to help compile on linux.