Build Configuration Modifications

I found that the solution Debug configuration was not building libjpeg in Debug configuration, there were also similar problems with x64 builds. I assume that this was unintentional and have fixed them.