necessary dpkg rules to get opencs building and packaged on dpkg systems

Zini: Could you also merge this fix into the 0.27.0 branch please? This solves our packaging problems in getting opencs into debian/ubuntu. Thanks!