Change FREAD to ASF_FREAD since FREAD is a system symbol on Darwin.

Also add missing libraries to some SConscripts.