fixed many small configuration bugs
ported many packages to compile under MT
Authored by: kifer 2012-09-27
Parent: [r7623]
Child: [r7625]