Remove library build targets from linux build