Fix for cross compile

Added double brackets so brackets could be used within test program