work around error definition issues (386 vs amd64)