Added runtime compile of source dependencies, support for VS2013 & 32bit cross compile on Linux and MAcOSX, plus REGISTERSINGLETON macro.