Simplify library name variable
There was the extension variable when Qt4 and 5 were supported simultaneously.