removed unnecessary libraries on master.cc