Outsource the Philips Hue module to https://github.com/manexim/libphilipshue and use it as submodule.