Cross compilation issue