Cross compilation-related fix