Fix public path if used as a module