Fix for crosswalk template with multiple architectures.

Previously, there was only one architecture so we just took the first one, but now there are multiple, so it needs to actually look at them all until it finds the one specified by the user.

I guess there is a more elegant way to do this search...