Council to clarify legal powers to tackle derelict buildings