jpeg and png are now built optionally