perl: allow building the module in the tree