Add getter for dylib handle (against unused warning); remove unused kBitcode
Fix constness.