fix compiler warnings in Yaws applications