add pir wuclass and change compiler setting for galileo