Fix building ldc2