clean up ossp-js makefile and fix avr32 compile