Doesn't matter for your issue, but SFML_DYNAMIC doesn't exist anymore.
I've never used Windows 7 in a VM as such, I'm not sure what possible issues can occur, but as Jesper Juhl said, it's more likely to be an issue with the VM. Is graphics acceleration activated?