Fixed resource paths problems when building jar