(core) add dependency to JRE System Library and re-organized libraries