Fix clock creation. 

Signed-off-by: Max Fierke <max@maxfierke.com>