build: improve to the path of gcc and clib.

N/A

1.define to environment value for the prefix of gcc.
2.support to multiple c libraries.

Change-Id: I586f5b98f4a464ec2cb17b1950ee8090e71b9616
Signed-off-by: yudatun <yudatun@gmail.com>