fixed asm-parser test

Fixed a typo in asm-parser.cpp. Also reduced the required CMake version to
2.6.