support require and define by default. Fixes #4