this was using the D calling convention

- pass parameter on stack
Merge pull request #1578 from dawgfoto/fixDSOInit

this was using the D calling convention