fixing strange compilation problems by specifying the packages directly