Slighthaze has some good points... when he says:
In these cases it is sometimes necessary to create a dummy procedure file with functions having the same name as the API functions and make the compiler think that the functions exist,
note that you must mark this file "Excluded" in the project manager, so that the stubs don't override the DECLARE'd API functions (I'm not sure if the UDF's WOULD override them, but I use this method for building 'plug-in' .APP's that call UDF's in the main 'host' program, and the .APP functions WOULD override them, if their containing .PRG weren't "excluded".)
FWIW: I use a RELEASE.PRG to do all the building of a project, and I include that PRG in the project, marked "Excluded", and put the stup PROC's in it.