Added check for CHPL_LIBMODE env-var to enable "-fPIC" compilation flag.