fixed FPIC compile issue on darwin library/action_ready SO