Indeed, assigning 2 cores rather than 16 cut the total build time almost in half. So total compile time is now about 2.5 times longer under VM.
Couple of other notes:
No snapshots, both host and guest disks are defragmented.
Thanks for your response.