Fixed run time undefined symbol bug

Signed-off-by: Hin C Lam <hincheuk@us.ibm.com>