Compilation of the External Factory mechanism on Windows + syntax & comments fix