I just wanted to say thank you all for the replies and ideas. After I posted this I tried to build it again while I went to bed. I got home and found out that it compiled with no problem. I didn't change anything or disable any antivirus programs. Just weird that on some occasions it doesn't work. Not sure it's because I'm running other programs at the same time or what not. Any ways thanks again for all the input and keep up the good work MAMEDevs.