Compile fixes for PC