add build script and remove unused configs

Signed-off-by: Willi Ye <williye97@gmail.com>