Is anyone else getting an internal compile error on the new main.cpp?
Did you mean the compiler itself generated an internal error on you?
I remember the days when I used to use Visual Studio.

On Ubuntu 13 on DigitalOcean, I get
g++: internal compile error: Killed (program cc1plus)
Please submit a full bug report
...I'm not sure I have the env setup right (I was just using the binaries before). Is there a list of dependencies? I was using a much older bitcoin instruction set before.
You need to create a swap file, since the VPS on Digital Ocean doesn't have enough room for to run the Make
Run these commands then execute the try the make command afterwards:
dd if=/dev/zero of=/swapfile bs=64M count=16
mkswap /swapfile
swapon /swapfile
If you want more details on how to setup the VPS with the new source code, check out my reddit post:
http://www.reddit.com/r/primecoin/comments/1i0sa9/primecoin_builtin_miner_performance_enhancement/cb0aj1h