fix cmake warning, fix fpic warnings on windows
fix policy error
comment plugin tests for now