Fix loading from resource when built with maven