Fixed few errors with rpm install