Cleaned up makefiles and removed unimplemented system calls

* Added TARGET_* prefixes to build tool invocations
* Removed the proctest application, as the system calls it tests
  no longer exists.
* Removed unimplemented system calls from the standard library.