fixes for linkio version 1 and 2 && making applications which are using bootstrap compatible with version 1 of linkio