build: allow usage of oracle jdk on linux

currently open jdk is forced if linux is detected as host

Change-Id: I42bbf77da5b38a668a55ba458bb67827321b5081