Added option to disable ruby extensions