Mindstorms NXT NXC RemoteStopProgram fails compilation
Try changing which version of BricxCC you're using to one of the later releases:
http://bricxcc.sourceforge.net/test_releases/?C=M;O=D

What version are you using now?  I duplicated the compile error on v3.3.8.9, but I didn't get the compile error on v3.3.8.11:
http://bricxcc.sourceforge.net/test_releases/test_release20131007.zip

Hope that works!

PS: I didn't test anything, as I'm not using the feature -- I just saw it would compile on a different version.

If you use this, make sure you review compiler settings, as it looks like the newer version has [x] Enhanced Firmware option checked by default (which you may or may not have installed on your NXT brick, if using stock LEGO firmware).

Update #1:

According to https://sourceforge.net/p/bricxcc/code/HEAD/tree/NXT/history.txt, it may be a known issue that was fixed in a newer release:

Version 1.2.1.r5 (2013-02-16)
   :
- Fixed definition for several Remote* API functions which sent direct/system commands 
  to other NXT devices via Bluetooth or RS-485


So, it looks like 1.2.1r5 or newer version of NBC command-line tools may be required.

Also, the test release I downloaded (v3.3.8.11 of GUI) has nbc.exe v1.2.1.5, while the other version I have (v3.3.8.9 of GUI) has nbc.exe v1.2.1.4 -- so this may be the issue.

Update #2:

For Linux, see https://sourceforge.net/p/bricxcc/code/HEAD/tree/386/ and https://sourceforge.net/p/bricxcc/code/HEAD/tree/x64/ 32 and 64-bit binaries, respectively.