Add conditional compiling for core player

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Update license in core player files

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