Build fixes on Linux.