Call gcc with appropriate -L and -I options