Fix HAL with non simulation
`ioaccess.h` is just allowed to be included if the program run in the simulation