Fixed compiler warnings and built producer