Added two more non-existing source files to build.

  * Added 'factory.cpp' to the build.
  * Added 'temporaryplugin.cpp' to the build.