Merge pull request #381 from yegord/next

Added test build target, fixed CMake warning