Add x64 configurations. Fix compiler error.