mini-os: Fixed #ifdef test
mini-os: Made off_t type signed

POSIX requires this.
mini-os: Make .o files depend on includes

Before, only the final link step depended on setting up the includes
directory, making the build unreliable.