Fixed build errors

We can't dynamically do that. So should we create it manually in this case?