Add scenario to show build constraints working

Except that the don't if the constraint isn't the first comment ...
Improve handle of build constraints
Add special handling for os package

If the os package is being processed, then it needs special handling
as the sigpipe function is injected from the runtime package ...