Fixes for Linux build (only built LikeMagicUnitTests so far).