adopt make script to replace seperate commands for building
remove dlerror judgement after dlsym