Added optional use of igbinary if installed

Fixed #1306