Rework sourcestamp.so build

Quite an hack but it should allow system check to run before
we try to use python development files.