Fix missing constructor when creating mocks on PHP 5.3.3