Detect server binaries. Run bower and grunt only if needed.