Fix registration of composer autoloader