Fix dedicated Linux build.

Work OK on Ubuntu and Windows 7.