build: Change return type of main in configure compile test programs