fix regression when building for non-pi