Fix __DIR__ and __FILE__ in compiled file