Correcting dependencies in bahmnicore