Fixes for dmd 2.063

Fixes for dmd 2.063 (beta).

I fixed use of `shared` and `static` keyword.