add -M5.18.0 flag for perl