Fixed compilation of convolution kernels