Added the -fPIC for the DEBUG mode.