Fix an issue which prevented linking with Python 3.
The Python 3 path was being set as though extended interpolation were being used to read the configuration file. However, this is not the case. Update the build script to treat each configuration value as a format string and provide a reference to the build context. This allows the Python 3 path to be properly configured.
Also update the Windows 7 SDK path to be treated in a similar manner.