Initialized empty pointer; fixed missing libraries