Fix resource package builder