fix: nil exception on OS specific depends