Minor fixes

1. Apply the SLIB reliance to all targets so that they can be compiled
individually.
2. Change the erroneous perror information on the fourth exercise.

Signed-off-by: Chen, Yiqun