remove the code to link libs