Fix targets as suggested by @cmeiklejohn.