Silence empty source file warning in Solaris

Add a pragma to disable the empty translation unit in Solaris. Some
source files will be ifdef'ed out and will be empty in certain
platforms.

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