Fix #73 pgi

Fix cmake errors due to wrong string compare and close #73