Modified for Linux build