Made rust-image compile under gl flag