Added jpeg project and logic to create setup.h

The jpeg project compiles correctly, maybe some other options are missing as correct targetname based on type of configuration.

Added creation of setup.h on solution.lua, maybe this can be moved to each of the platform setup files.