remove couple ifdefs to fix comple

Signed-off-by: Whitehawkx <xxwhitehawk@gmail.com>