4GB RAM and 2.7GHz CPU? Slow, at least for the RAM; however, I don't believe it is 5 or 6 hours slow. My old PC has 8GB RAM and 2.8GHz CPU & it takes 30 minutes or less to compile a WoW emulator source (dependent on patch/emulator).
P.S. Make sure you are compiling in Release and not Debug.