net/mlx5: fix linkage of glue lib with gcc 4.7.2