specdep: Import scripts.lib as a proper Python module

Signed-off-by: Euan Harris <euan.harris@citrix.com>