Added ifdef macro to use LARSTorch on simulator