GPU Calc: an attempt to fix compilation error on Darwin

Change-Id: I282ef4732f72d76baf647bb039847e8d7b3fd562