Configure: Fix two small errors causing problems for contrib module compilation