add -fPIC for dynamic target
fix get_background() return value