Allow multiple production target rules
Clean up cmake files a bit