MAINT: make main a strict prototype in configure checks

removes about 400 lines of warnings from the build logs