Fix build race on armv6* and powerpc*. Tested with cross builds amd64 -> armv6(hf) and powerpc(64).
Suggested by: andrew@