Implemented code to invoke the global constructors