configure: Move license checks directly after command line parsing