Automatically wrap define/require, fixes #68