ghost: Build charge_only_mode as static executable

Change-Id: Id3b594d5ca907dcfb8e0aa29a9c91c5a9e2f3c23
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>