Attempt at fixing https://github.com/rejectedsoftware/dub/issues/201
As I see it the problem is with dub.package_.getBuildSettings() not looking at platform.architecture, this makes the arch. override without effect.