compile fixes for 14.04/indigo