Add conditional compile for core player

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>