Compile fixes for Win64.