Fixed compiler errors with templated halfstrip mapping. Made c++0x compliant.