Fixed Maven compile errors