Pakistan struggles to attract foreign investment