nativized res detection on Linux, BSD coming
reworked makefile, updated README to match