preparation for cairo remove
modify for ARM CC